Skip to content

feat: extend eligibility caching to all commands - #21

Merged
aaearon merged 1 commit into
mainfrom
feat/extend-eligibility-caching
Feb 19, 2026
Merged

feat: extend eligibility caching to all commands#21
aaearon merged 1 commit into
mainfrom
feat/extend-eligibility-caching

Conversation

@aaearon

@aaearon aaearon commented Feb 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Status, revoke, groups, and favorites add now use the shared buildCachedLister() factory, reducing redundant API calls for eligibility data used in display/name-resolution contexts
  • Commands without --refresh always pass refresh: false — they read from cache but never bypass it
  • Added countingEligibilityLister and countingGroupsEligibilityLister test helpers to verify cache integration
  • Updated CHANGELOG, CLAUDE.md, and README

Test plan

  • TestStatusCommand_CachedEligibility — verifies cache deduplicates Azure calls
  • TestRevokeCommand_CachedEligibility — verifies cached eligibility for workspace name resolution
  • TestGroupsCommand_CachedEligibility — verifies cached cloud + groups eligibility
  • TestFavoritesAdd_CachedEligibility — verifies cached eligibility in favorites add flow

Status, revoke, groups, and favorites add now use the shared
buildCachedLister() factory, reducing redundant API calls for
eligibility data used in display/name-resolution contexts.
@aaearon
aaearon merged commit 1b27dce into main Feb 19, 2026
1 check passed
@aaearon
aaearon deleted the feat/extend-eligibility-caching branch February 19, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant